January 06 2009 13:05:19
Navigation
Last Seen Users
ananzOnline
GrimlochOnline
DiemuxOnline
inuken< 5 mins
LookMovie00:06:12
snowy00:06:50
Lupich00:09:47
Filippo15500:10:10
sathishIPL00:12:30
AKEMAL00:13:50

Guests Online: 0
Registered Members: 3,621
Newest Member: Colognechaser
Downloads v7
Currently popular Downloads

Professional Down... 544
Extended Profile 503
FusionBoard 4 473
Photoalbum Mass U... 470
Avatar Studio 450
HighSlide Gallery... 416
Photo in Profile 400
VArcade 1.7 388
Wap Mod 360
Who Is Online Adm... 338

Latest Downloads


Login Redirect 6
Apache Errors Mod 3
View & Delete all Co... 0
Mod "index.php + mod... 4
Comments Management 2
FB Latest Referrers ... 8
Slideshow Lightbox P... 10
RSS and Panel 11
Secure Admin Login 21
SQL Injection Block 22
Downloads v6
Currently popular Downloads

Video Gallery 376
EXTboard 362
Extreme Theme Editor 341
Icon Package 2.0 290
Banner System v2.0.4 284
Tabbed welcome panel 281
Fuzed Shoutbox 276
Extended Profile ... 272
News.php 265
Header Banner System 221

Latest Downloads


Login Redirect 0
Mod "index.php + mod... 0
Base Games 1
Banner exchange system 0
Poll with comments a... 90
Media Streamer 5
v6.01.18 FULL 14
v6.01.16 - v6.01.17 44
v6.01.15 - v6.01.16 1
v6.01.17 - v6.01.18 8
Provider
PHPfusion-mods.net is hosted at:

110MB
Online Stats
Guests online: 5
Members online:
Grimloch, ananz, [Diemux]

registered members: 3621
newest member: Colognechaser

user today: 3599
user online: 8
Max. onlinerecord: 43
Max. per day: 5705
user yesterday: 4842
user month: 27791
Entire users: 101574

last 24h:
























SEO | Improve your PHP-Fusion forum rankings
In this tutorial I will explain you how to create SEO friendly URL's for your forum. This method is based on the same methods as the previous SEO friendly mod's. This mod requires the seoname.php file which you can download on this site. Below is a direct link.

This tutorial is written for the standard forum integrated in PHP-Fusion. In my next tutorial I will describe how to apply this mod to the advanced forum index by Shedrock and the EXTboard forum.

Before we can continue you must make sure that you have the following stuff available:

- seoname.php (download here)
- .htaccess support on your host
- PHP-Fusion 6.01.10 or higher. (probably works on lower version too but only tested with this version and higher)

When all above is available you can continue with this tutorial.

Don't forget to backup the files you modify before you continue!!!


SEO friendly links for the standard PHP-Fusion forum


Step 1
Download Seoname.php and upload that file to your includes folder.


Step 2
Create a new .htaccess file OR open yours if you already got one and paste the following code in it:

## SEO friendly URL by web-bureau.com
## Provided by PHPfusion-mods.net
## Use this if Fusion is installed in your root directory
RewriteBase /
## Use the following if Fusion is not installed on your root directory
## RewriteBase /<fusion_path>/
RewriteEngine On

## Forum categories
RewriteRule ^(.*)-fc([0-9]*).([0-9]*).htm$ forum/viewforum.php?forum_id=$2&rowstart=$3 [L,NC]

## Forum threads
RewriteRule ^(.*)-fc([0-9]*)-ft([0-9]*).htm$ forum/viewthread.php?forum_id=$2&thread_id=$3 [L,NC]

## Forum threads and posts
RewriteRule ^(.*)-fc([0-9]*)-ft([0-9]*)-fp([0-9]*).htm$ forum/viewthread.php?forum_id=$2&thread_id=$3&p_id=$4 [L,NC]

## Forum threads and pagation
RewriteRule ^(.*)-fc([0-9]*)-ft([0-9]*).([0-9]*).htm$ forum/viewthread.php?forum_id=$2&thread_id=$3&rowstart=$4 [L,NC]

## Forum threads and pagation and posts
RewriteRule ^(.*)-fc([0-9]*)-ft([0-9]*).([0-9]*)-fp([0-9]*).htm$ forum/viewthread.php?forum_id=$2&thread_id=$3&rowstart=$4&p_id=$5 [L,NC]

If your Fusion isn't in the root, replace 'RewriteBase' to 'RewriteBase /<fusion_path>/' (where <fusion_path> is the folder name).


Step 3
Open Maincore.php and find:

'?>'

Above, add the following:

// Search engine friendly URLs
// http://www.web-bureau.com/php-fusion-cms-c1.htm
require_once INCLUDES."seoname.php";



Step 4
Open forum/index.php and search for: (line 61)

<a href='viewforum.php?forum_id=".$data['forum_id']."'>

Replace with:

<a href='".FORUM.seoname($data['forum_name'])."-fc".$data['forum_id'].".0.htm'\">

Your now finished with editing the forum/index.php file. Save it and re-upload the file.




Step 5
Open forum/viewforum.php and search for: (line 94)

<a href='viewthread.php?forum_id=$forum_id&thread_id=".$data['thread_id']."'>

Replace with:

<a href='".seoname($data['thread_subject'])."-fc".$forum_id."-ft".$data['thread_id'].".htm'>

Find (line 98):

<a href='viewthread.php?forum_id=$forum_id&thread_id=".$data['thread_id']."&rowstart=$ctr'>


And replace with:

<a href='".seoname($data['thread_subject'])."-fc".$forum_id."-ft".$data['thread_id'].".".$ctr.".htm'>

Find (line 139):

<a href='viewthread.php?forum_id=$forum_id&thread_id=".$data['thread_id']."'>


And replace with:

<a href='".seoname($data['thread_subject'])."-fc".$forum_id."-ft".$data['thread_id'].".htm'>


Find (line 143):

<a href='viewthread.php?forum_id=$forum_id&thread_id=".$data['thread_id']."&rowstart=$ctr'>


And replace with:

<a href='".seoname($data['thread_subject'])."-fc".$forum_id."-ft".$data['thread_id'].".".$ctr.".htm'>


Your now finished with editing the forum/viewforum.php file. Save it and re-upload the file.




Step 6
Open forum/viewthread.php and search for: (line 42)

<a href='viewforum.php?forum_id=".$fdata['forum_id']."'>

Replace with:

<a href='".seoname($fdata['forum_name'])."-fc".$fdata['forum_id'].".0.htm'>

Save forum/viewthread.php and upload it.


End

Everything should work now, if you run in trouble, recheck the steps above. If you still have problems, see the support thread .

Based on coding by Meep-online and skdown.net.

Comments
#15webadmin88 on October 26 2008 14:08:18
tdsii don't flatter yourself thinking someone is using particularly YOUR edits, its my estimate that all the people commenting here have the skills needed to do it by themselves
#14tdsii on October 21 2008 12:00:24
yea ur right i already did that in skdown.net but the thing is i forgot where i did the edits as it was long time ago, good thing to know that people are still using my edits. Smile

I will share the files soon with u, hope u benifit from them.

Regards.
#13wadday on September 03 2008 09:47:24
here is the photo gallery and slide show panel i have done for SEO . PHP fusion v7 recommended to use this.

http://www.wadday...read_id=34
#12wadday on September 03 2008 08:59:30
sorry i forgot to include the rewrite url, well here it is

old
profile.php?lookup=userid
<a href='".BASEDIR."profile.php?lookup=".$data['user_id']."'>".$data['user_name']."</a>

new
username-profile-3.htm
<a href='".seoname($member[1])."-profile-".$member[0].".htm'>".$data['user_name']."</a>
#11wadday on September 03 2008 08:52:23
webadmin88 on July 05 2008 12:34:24
I am now trying to optimize the ?lookup also but I will make a package now and give you the link


Code
##Profile
RewriteRule ^(.*)-profile-([0-9]*).htm$ profile.php?lookup=$2 [L]




is this you are looking for... well. this might different than this site.. but it work well

still seoname.php file will be required.
#10wadday on September 03 2008 08:48:17
does the .htm is identify by the SEO rather than .php
#9webadmin88 on July 05 2008 11:34:24
I am now trying to optimize the ?lookup also but I will make a package now and give you the link
#8Diemux on July 04 2008 21:21:46
Sweet -> I'm very interested! Can you PM me a download link?
#7webadmin88 on July 04 2008 20:53:38
Ok, I am ready with the Full forum optimization. I was wondering whether you want it or not Puh.

P.S. I optimized and changed the EXT board + the Advanced Index, changed really a lot of things so I can not make a tutorial here....only the ready files.
P.S.2 The optimized forum consists of:

Optimized Index Page, View Forum Page, View Thread Page, Optimized pagerow transitions, Optimized postify links and proper redirect after that, Optimized Forum Tree Panel, Optimized infusion that is used by the advanced index, optimized forum_jump, optimized rankings redirect and last but not least optimized moderation addition panel+optimized regular oneSmile

If you are interested call me Smile
#6webadmin88 on July 03 2008 09:08:18
Well I think you undestimate me Smile I made it working, but now I am working on full seo optimized Ext Board + Advanced Index. When I am ready I will send you the package. For now the index and most of the content is ready, still missing optimization in the postify result page and on the edit pages-patience is everything B)
Post Comment
Please Login to Post a Comment.
Ratings
Rating is available to Members only.

Please login or register to vote.

No Ratings have been Posted.
Login
Username

Password



Not a member yet?
Click here to register.

Forgotten your password?
Request a new one here.
Our Coders
Rizald 'Elyn' Maxwell
Diemux
Donate

Affiliates:
Venue

Shoutbox
You must login to post a message.

06/01/2009 10:14
@diemux - i've upload my mod.. with updates..

06/01/2009 09:57
just submit again, I will check both Smile

06/01/2009 06:21
how to update my uploaded mod here? i forgot to attached the images

06/01/2009 03:42
Mod "index.php + mod panels" doenst have a install.php as said on readme file

06/01/2009 01:00
Cheers!

05/01/2009 23:27
Bye!

05/01/2009 20:01
Helloy Bye!

05/01/2009 17:58
kkcafe : lol. yes i am

05/01/2009 17:30
owh.. elyn, are u Malaysian?

05/01/2009 16:26
lol. i am reading Malay in some threads. @diemux: no, its not me..

Advertiser
One-click Translation
Translate This Site

Render time: 0.27 seconds 471,890 unique visits